<% inside_layout 'application' do %>
  <% content_for :other_index do %>
    <span class="other_indexes">
      <%= link_to "用户", admin_users_url, :class => get_current_page("admin/users") %>
      |
      <%= link_to "组", admin_roles_url, :class => get_current_page("admin/roles") %>
    </span>
  <% end %>

  <% content_for :right_side do %>
    <div id="the_other_control">
      <%= link_to image_tag("add_icon.gif"), new_admin_user_path, :class=>"image"%>
      <%= link_to "创建用户", new_admin_user_path, :class=>"grey" %>
    </div>
    <div id="the_other_control">
      <%= link_to image_tag("add_icon.gif"), new_admin_role_path, :class=>"image"%>
      <%= link_to "创建组", new_admin_role_path, :class=>"grey" %>
    </div>
  <% end %>

  <div id="content">
    <%= yield %>
  </div>
<% end %>